import http from '@/utils/http'
// 获取活动资料专区信息和头图【新】
export function getActivityInfo(params) {
  return http.get('/wxpub/activity_wench/data_area_pc', params)
}
// 【PC】获取活动详情
export function getActivityDetailInfo(params) {
  return http.get('/wxpub/activity_wench/detail_pc', params)
}
// 用户选择要备考的科目生成学习计划【新】
export function postSubjectSelect(params) {
  return http.post('/wxpub/activity_wench/profession_plan', params)
}

// 获取活动资料专区信息和头图【新】
export function getActivityTask(params) {
  return http.get('/wxpub/activity_wench/calendar_plan_pc', params)
}
// 检测用户是否加入活动【新】
export function getIsJoinActivity(params) {
  return http.get('/wxpub/activity_wench/check_user_join', params)
}
// 加入活动
export function getJoinActivity(params) {
  return http.get('/wxpub/activity_wench/join_learn_activity', params)
}
// 获取学习科目信息
export function getSubjectInfo(params) {
  return http.get('/wxpub/activity_wench/profession_plan', params)
}
// 获取当天的学习任务
export function getLearningTask(params) {
  return http.get('/wxpub/activity_wench/learning_task_pc', params)
}
// 获取测试信息
export function getTestInfo(params) {
  return http.get('/wxpub/activity_wench/exam_task_info', params)
}
// 自动激活活动绑定 激活码
export function postAutoActivate(params) {
  return http.post('/wxpub/activity_wench/auto_activate', params)
}
// 【PC】学习计划提交测试
export function postReportTest(params) {
  return http.post('/wxpub/activity_wench/reporting_learn_exam_pc', params)
}
// 【PC】获取测试信息接口
export function getLearnTestDetail(params) {
  return http.get('/wxpub/activity_wench/reporting_learn_exam_detail', params)
}
// 获取考试信息接口
export function getExamDetail(params) {
  return http.get('/wxpub/activity_wench/activity_exam_info', params)
}
// 提交考试信息接口
export function postExamDetail(params) {
  return http.post('/wxpub/activity_wench/reporting_activity_exam', params)
}
/*提交直播id订阅*/
export function getSubscribeLive(params) {
  return http.get('/wxpub/api/live_subscribe', params)
}
// 领取学习任务奖励
export function getStudyTaskPrize(parmas) {
  return http.get('/wxpub/activity_wench/receive_learn_prize', parmas)
}
